import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-carousel',
  templateUrl: './carousel.component.html',
  styleUrls: ['./carousel.component.scss']
})
export class CarouselComponent implements OnInit {
	array = [ '../../assets/img/b1.jpg', '../../assets/img/b2.jpg', '../../assets/img/b3.jpg', '../../assets/img/b4.jpg' ];
	effect = 'scrollx';
  constructor() { }

  ngOnInit() {
    setTimeout(() => {
      this.effect = 'fade';
    }, 3000);
  }

}
